package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author oxiny
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName("d_protocol")
public class Protocol extends Model<Protocol> {
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 协议名
     */
    private String title;

    /**
     *协议内容
     */
    private String content;

    private Date addTime;
}
